package com.example.springdemo.spring_cache;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.support.AbstractCacheManager;
import org.springframework.stereotype.Component;

/**
 * spring cache练习
 * @author zhangding
 * @date 2021年12月9日21:33:09
 */
@Component
public class CacheDemo {




    @CachePut(value = "ttt333")
    public String putIntoCache(){
        return "666";
    }


}
